Skip to content

feat: Add "Use installed APK" button to APK availability dialog#552

Merged
MarcaDian merged 17 commits into
devfrom
add-installed-apk-button
May 16, 2026
Merged

feat: Add "Use installed APK" button to APK availability dialog#552
MarcaDian merged 17 commits into
devfrom
add-installed-apk-button

Conversation

@MarcaDian
Copy link
Copy Markdown
Contributor

@MarcaDian MarcaDian commented May 15, 2026

What's new

Added Use installed APK button in the APK selection dialog

When patching an app that is already installed on device, Morphe now offers a shortcut button - Use installed APK (vX.Y.Z) - instead of requiring to manually locate and pick the file. Tapping it copies the installed APK to a temporary location and starts patching
automatically.

How it works:

  • The button is available in expert mode only and appears when the installed app version is compatible with the selected patch bundle (respects the bundle's compatibleVersions field; universal patches always show it)
  • If the installed app is already patched by Morphe (detected via certificate fingerprint), the button is hidden to avoid re-patching an already-patched build
  • If a previously saved original APK of the same version already exists, only one button is shown to avoid duplicates
  • For root users, the "original APK required" warning in the dialog is suppressed when the app is already installed, since root mount patching doesn't require re-installation
  • The download instructions dialog also hides the "install the original first" step for root users when the app is already present

@MarcaDian MarcaDian force-pushed the add-installed-apk-button branch from 7ddeb68 to 19a77d5 Compare May 15, 2026 21:04
@MarcaDian MarcaDian force-pushed the add-installed-apk-button branch from 19a77d5 to 1a24818 Compare May 15, 2026 21:18
@MarcaDian MarcaDian merged commit 270d4c3 into dev May 16, 2026
1 check passed
@MarcaDian MarcaDian deleted the add-installed-apk-button branch May 16, 2026 15:27
github-actions Bot pushed a commit that referenced this pull request May 16, 2026
# [1.18.0-dev.1](v1.17.1...v1.18.0-dev.1) (2026-05-16)

### Bug Fixes

* Disable fade overlay in two-column layout ([0c31777](0c31777))
* Fix `Patch` button text contrast in `WarningBanner` ([#551](#551)) ([8b91560](8b91560))
* Resolve changelog dialog rendering jank after `markdown-renderer` update ([16f41fb](16f41fb))

### Features

* Add "Use installed APK" button to APK availability dialog ([#552](#552)) ([270d4c3](270d4c3))
github-actions Bot pushed a commit that referenced this pull request May 17, 2026
# [1.18.0-dev.1](v1.17.1...v1.18.0-dev.1) (2026-05-17)

### Bug Fixes

* Disable fade overlay in two-column layout ([0c31777](0c31777))
* Resolve changelog dialog rendering jank after `markdown-renderer` update ([16f41fb](16f41fb))

### Features

* Add "Use installed APK" button to APK availability dialog ([#552](#552)) ([5844412](5844412))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Patch from existing installed app as apk source feat: Homes screen root patching UI improvements

2 participants